<div class="modal new-template">
	<div class="modal-header">
		<a class="close" data-dismiss="modal">×</a>
		<h3><span class="icon"></span>{{_.NEW_TEMPLATE}}</h3>
	</div>
	<div class="modal-body">
		<div id="alerts-{{view.cid}}"></div>
		<div class="tabs">
			<ul class="nav nav-tabs">
				<li class="active">
					<a href="#tab-main-{{view.cid}}" data-toggle="tab">{{_.GENERAL}}</a>
				</li>
				<li>
					<a href="#tab-attributes-{{view.cid}}" data-toggle="tab">{{_.ATTRIBUTES}}</a>
				</li>
			</ul>
			<form id="form-{{view.cid}}" class="form-horizontal tab-content">
				<div class="tab-pane active" id="tab-main-{{view.cid}}">
					<div class="control-group">
						<label class="control-label required" for="form-{{view.cid}}-reference">{{_.REFERENCE}}</label>
						<div class="controls">
							<input type="text" class="input-xlarge reference" id="form-{{view.cid}}-reference" required />
							<p class="help-block"></p>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="form-{{view.cid}}-type">{{_.TYPE}}</label>
						<div class="controls">
							<input type="text" class="input-xlarge type" id="form-{{view.cid}}-type">
							<p class="help-block"></p>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="form-{{view.cid}}-mask">{{_.MASK}}</label>
						<div class="controls">
							<input type="text" class="input-xlarge mask" id="form-{{view.cid}}-mask">
							<p class="help-block"></p>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="form-{{view.cid}}-id-generated">{{_.ID_GENERATION}}</label>
						<div class="controls">
							<input type="checkbox" class="input-xlarge id-generated" id="form-{{view.cid}}-id-generated">
							<p class="help-block"></p>
						</div>
					</div>
				</div>
				<div id="tab-attributes-{{view.cid}}" class="tab-pane attributes"></div>
			</form>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-primary" form="form-{{view.cid}}">
			{{_.CREATE}}
		</button>
		<a class="btn cancel" data-dismiss="modal">{{_.CANCEL}}</a>
	</div>
</div>
